package com.atguigu.order.service;

import com.atguigu.order.entity.Order;
import com.atguigu.order.entity.vo.OrderQuery;
import com.atguigu.order.entity.vo.OrderVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author lgy
 * @since 2022-04-26
 */
public interface OrderService extends IService<Order> {

    //生成订单的方法
    String createOrders(String courseId, String memberId);
    //订单分页条件查询
    List<OrderVo> getOrdersPage(OrderQuery orderQuery);

    void dd();
}
